/**
 * Created by dywu on 2015/9/24.
 */
angular.module('app.service.auth', [
    'ngResource'
])

//登陆服务
    .service('LoginService', ['$resource', function ($resource) {
        this.login = function (manager, success, error) {
            var resource = $resource(authurl + "user/login");
            return resource.save(manager, success, error);
        };
    }])
;